Crate udev

source · []
Expand description

libudev Bindings for Rust

Re-exports

pub extern crate libudev_sys as ffi;

Structs

A convenience alias for a list of attributes, bound to a device.

A structure that provides access to sysfs/kernel devices.

Rust wrapper for each entry in List, each of which contains a name and a value.

An enumeration context.

An event that indicates a change in device state.

Rust wrapper for the udev_list_entry struct, which provides sequential access to an associative list of string names and values.

Monitors for device events.

An active monitor that can receive events.

Rust wrapper for the udev struct which represents an opaque libudev context

Enums

Types of events that can be received from udev.

Traits

Receive the underlying raw pointer

Receive the underlying raw pointer for types with an associated udev struct which must outlive them.

Convert from a raw pointer

Convert from a raw pointer for types which must be associated with a Udev context object.

Type Definitions

Iterator over devices.

A convenience alias for a list of properties, bound to a device.